package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-26
 * Time: 20:54
 */
// 父接口：定义抽象方法 eat()

public interface Animal {
    void eat();  // 抽象方法
}

